﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WsdShop.Model.Enum;

namespace WsdShop.Model
{
    /// <summary>
    /// 一分钱活动表
    /// </summary>
    public class Activity : Entity
    {
        /// <summary>
        /// 一分钱活动表Id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 抽奖活动id
        /// </summary>
        public int LuckDrawID { get; set; }
        /// <summary>
        /// 活动名称
        /// </summary>
        public string ActivityName { get; set; }
        /// <summary>
        /// 活动价格 （固定0.01元，不可修改）
        /// </summary>
        public decimal ActivityPrice { get; set; }
        /// <summary>
        /// 活动状态  上架 = 0,下架 = 1
        /// </summary>
        public int ActivityStatus { get; set; }
        /// <summary>
        /// 活动详情
        /// </summary>
        public string ActivityDetails { get; set; }
        /// <summary>
        /// 参与人数
        /// </summary>
        public int PeopleNum { get; set; }
        /// <summary>
        /// 每个人可参与次数
        /// </summary>
        public int ParticipateNum { get; set; }
        /// <summary>
        /// 每个人可开团次数
        /// </summary>
        public int OpenTeamNum { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime StartTime { get; set; }
        /// <summary>
        /// 团持续时间（小时）
        /// </summary>
        public int ContinuedTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime EndTime { get; set; }
        /// <summary>
        /// 团长是否必中0否1必中
        /// </summary>
        public bool IsWinning { get; set; }
        /// <summary>
        /// 封面图
        /// </summary>
        public string CoverImg { get; set; }

    }
}
